<div id="preview_<%= html_options['modal-id'] %>" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title"><%= attachment.original_filename %></h4>
      </div>
      <div class="modal-body">
        <%= image_tag preview %>
      </div>
    </div>
  </div>
</div>
